count for nothing

Translations
не иметь значения
All his efforts seemed to count for nothing in the end.
В конце концов, все его усилия казались напрасными.